projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b5f631
)
(notice_overwritten_cursor): Take care of end < 0 case.
author
Jason Rumney
<jasonr@gnu.org>
Sat, 17 Nov 2001 18:09:27 +0000
(18:09 +0000)
committer
Jason Rumney
<jasonr@gnu.org>
Sat, 17 Nov 2001 18:09:27 +0000
(18:09 +0000)
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index fd4654532e3f2b2f69b545a9b74a90ac2689402d..4e82a8092d432a41d175c76de0c342d5b12b7730 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-11107,7
+11107,7
@@
notice_overwritten_cursor (w, start_x, end_x)
&& w->phys_cursor_on_p
&& output_cursor.vpos == w->phys_cursor.vpos
&& start_x <= w->phys_cursor.x
- &&
end_x > w->phys_cursor.x
)
+ &&
(end_x < 0 || end_x > w->phys_cursor.x)
)
w->phys_cursor_on_p = 0;
}